<template>
	<view class="content">
		<navigabar title='订单详情' />
		<image class="ui_bg" src="/static/img/bg_check_detail.png" mode=""></image>

		<view class="ui_info">
			<view class="ui_info_state">待审核</view>
			<view class="ui_info_tip">审核通过后，库存划拨至批发商</view>

			<view class="ui_info_addr">
				<image class="ui_info_addr_icon" src="/static/img/icon_addr.png" mode=""></image>
				<view class="ui_info_addr_name">方豫 185****2660</view>
				<view class="ui_info_addr_text">所属区域：广西 南宁市 青秀区</view>
			</view>
		</view>

		<view class="ui_order">
			<view class="ui_order_top">
				<view class="ui_order_top_left"></view>
				<view class="ui_order_top_text">订货商品</view>
			</view>
			<view class="ui_order_item" v-for="(item,index) in 2" :key="index">
				<image class="ui_order_item_img"
					src="https://img0.baidu.com/it/u=2748363669,2526559495&fm=253&fmt=auto&app=120&f=JPEG?w=760&h=760"
					mode=""></image>
				<view class="ui_order_item_info">
					<view class="ui_order_item_info_left">鳗漫养 鳗鱼肽滋润亮肤霜</view>
					<view class="ui_order_item_info_right s26">￥260.00</view>
				</view>
				<view class="ui_order_item_info">
					<view class="ui_order_item_info_left s24 c666">30ml/瓶</view>
					<view class="ui_order_item_info_right s24 c666">×100</view>
				</view>
			</view>

			<view class="ui_order_total">
				共200件，合计：<p>¥26000.00</p>
			</view>
		</view>

		<view class="order_info">
			<view class="order_info_item">
				<view class="order_info_item_left">订单编号</view>
				<view class="order_info_item_right">T102152025022100</view>
			</view>
			<view class="order_info_item">
				<view class="order_info_item_left">下单时间</view>
				<view class="order_info_item_right">2025-05-28 14:56:32</view>
			</view>
			<view class="order_info_item">
				<view class="order_info_item_left">支付方式</view>
				<view class="order_info_item_right">无需支付</view>
			</view>
			<view class="order_info_item">
				<view class="order_info_item_left">所属地区</view>
				<view class="order_info_item_right">广西 南宁市 青秀区</view>
			</view>
			<view class="order_info_item">
				<view class="order_info_item_left">批发商</view>
				<view class="order_info_item_right">方豫</view>
			</view>
			<view class="order_info_item">
				<view class="order_info_item_left">批发商ID</view>
				<view class="order_info_item_right">130421310</view>
			</view>
		</view>

		<view style="height: 200rpx;"></view>

		<view class="ui_bottom" v-if="state == 0">
			<view class="ui_bottom_btn">确认划拨</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				state: 0, //0 待审核  1已完成
			}
		},
		methods: {

		}
	}
</script>

<style lang="less">
	.content {
		width: 750rpx;
		position: relative;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;

		.ui_bg {
			position: absolute;
			top: 0;
			left: 0;
			width: 750rpx;
			height: 394rpx;
			z-index: 88;
		}

		.order_info {
			margin-top: 20rpx;
			width: 714rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			padding: 20rpx 26rpx;

			&_item {
				display: flex;
				height: 60rpx;
				align-items: center;
				font-family: PingFang SC;
				font-weight: 500;
				font-size: 26rpx;
				color: #14182B;

				&_left {
					flex: 1;
					color: #999;
				}
			}
		}

		.ui_order {
			z-index: 89;
			margin-top: 20rpx;
			padding: 20rpx 26rpx;
			width: 714rpx;
			background: #FFFFFF;
			border-radius: 10rpx;
			display: flex;
			flex-direction: column;

			&_top {
				height: 70rpx;
				display: flex;
				align-items: center;
				font-family: PingFang SC;
				font-weight: bold;
				font-size: 32rpx;
				color: #333333;
				line-height: 36rpx;

				&_left {
					width: 6rpx;
					height: 30rpx;
					background: #9F6F26;
					border-radius: 3rpx;
					margin-right: 10rpx;
				}
			}

			&_item {
				width: 100%;
				display: flex;
				flex-direction: column;
				position: relative;
				min-height: 160rpx;

				&_img {
					position: absolute;
					left: 0rpx;
					top: 20rpx;
					width: 140rpx;
					height: 140rpx;
					background: #F4F4F4;
					border-radius: 10rpx;
				}

				&_info {
					margin-left: 160rpx;
					display: flex;
					margin-top: 20rpx;

					&_left {
						flex: 1;
						font-family: PingFang SC;
						font-weight: 500;
						font-weight: bold;
						font-size: 26rpx;
						color: #2D2D2D;
						line-height: 36rpx;
					}

					.s26 {
						font-size: 26rpx;
					}

					.s24 {
						font-size: 24rpx;
					}

					.c666 {
						color: #666;
					}
				}
			}

			&_total {
				margin-top: 25rpx;
				width: 100%;
				display: flex;
				height: 60rpx;
				justify-content: flex-end;
				font-family: PingFang SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #333333;
				line-height: 36rpx;

				p {
					font-family: D-DIN Condensed;
					font-weight: bold;
					font-size: 40rpx;
					color: #9F6F26;
				}
			}
		}

		.ui_info {
			z-index: 89;
			margin-top: 20rpx;
			width: 714rpx;
			display: flex;
			flex-direction: column;

			&_state {
				margin-left: 28rpx;
				margin-top: 20rpx;
				font-family: PingFang SC;
				font-weight: bold;
				font-size: 36rpx;
				color: #000000;
			}

			&_tip {
				margin-left: 28rpx;
				margin-top: 15rpx;
				font-family: PingFang SC;
				font-weight: 500;
				font-size: 24rpx;
				color: #6E593A;
			}

			&_addr {
				margin-top: 30rpx;
				width: 714rpx;
				height: 140rpx;
				background: #FFFFFF;
				border-radius: 10rpx;
				display: flex;
				position: relative;
				align-items: center;

				&_icon {
					width: 48rpx;
					height: 48rpx;
					margin-left: 12rpx;
				}

				&_name {
					position: absolute;
					top: 30rpx;
					left: 95rpx;
					font-family: PingFangSC;
					font-weight: 600;
					font-size: 30rpx;
					color: #333333;
				}

				&_text {
					position: absolute;
					bottom: 30rpx;
					left: 95rpx;
					font-family: PingFang SC;
					font-weight: 500;
					font-size: 24rpx;
					color: #666666;
					line-height: 32rpx;
				}
			}
		}

		.ui_bottom {
			position: fixed;
			bottom: 0rpx;
			left: 0rpx;
			right: 0rpx;
			width: 750rpx;
			height: 164rpx;
			background-color: #fff;
			display: flex;

			&_btn {
				position: absolute;
				left: 30rpx;
				top: 20rpx;
				width: 690rpx;
				line-height: 90rpx;
				text-align: center;
				background: linear-gradient(90deg, #C7974E, #986B28);
				border-radius: 45rpx;
				font-family: PingFang SC;
				font-weight: bold;
				font-size: 32rpx;
				color: #FFFFFF;
			}
		}
	}
</style>